<template>
  <div class="hello">
    <h1>{{ msg }}</h1>
    <i class="iconfont icon-30"></i>
    <div class="view_box">
      <router-view></router-view>
    </div>
    <!-- <div class="router_box">
      <router-link to="TestLoad1" class="detail_" active-class="active_nav">Go to 1</router-link>
      <router-link to="TestLoad2" class="detail_" active-class="active_nav">Go to 2</router-link>
      <router-link to="TestLoad3" class="detail_" active-class="active_nav">Go to 3</router-link>
    </div> -->
    <div class="router_box">
      <router-link to="/TestLoad42" class="detail_" active-class="active_nav">Go to 1</router-link>
      <router-link to="/TestLoad43" class="detail_" active-class="active_nav">Go to 2</router-link>
      <router-link to="/TestLoad44" class="detail_" active-class="active_nav">Go to 3</router-link>
    </div>
  </div>
</template>

<script>
export default {
  name: 'HelloWorld',
  data () {
    return {
      msg: '测试'
    }
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
.login_btn {
  margin-top: 35px;
}
input {
  border: 1px solid red;
}
h1,
h2 {
  font-weight: normal;
}
ul {
  list-style-type: none;
  padding: 0;
}
li {
  display: inline-block;
  margin: 0 10px;
}
a {
  color: black;
  text-decoration-line: none;
  font-size: 32px;
}
.router_box {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: darkgray;
  display: flex;
  left: 0;
  padding: 25px;
}
.router_box .detail_ {
  display: inline-block;
  width: calc(100% / 3);
}
.active_nav {
  color: blue;
}
</style>
